home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 15
/
Aminet 15 - Nov 1996.iso
/
Aminet
/
dev
/
gcc
/
ixemsdk.lha
/
man
/
cat3
/
clock.0
< prev
next >
Wrap
Text File
|
1996-09-02
|
892b
|
28 lines
CLOCK(3) UNIX Programmer's Manual CLOCK(3)
NNAAMMEE
cclloocckk - determine processor time used
SSYYNNOOPPSSIISS
##iinncclluuddee <<ttiimmee..hh>>
_c_l_o_c_k___t
cclloocckk(_v_o_i_d)
DDEESSCCRRIIPPTTIIOONN
The cclloocckk() function determines the amount of processor time used since
the invocation of the calling process, measured in CLOCKS_PER_SECs.
RREETTUURRNN VVAALLUUEESS
The cclloocckk() function returns the amount of time used unless an error oc-
curs, in which case the return value is -1.
SSEEEE AALLSSOO
getrusage(2)
SSTTAANNDDAARRDDSS
The cclloocckk() function conforms to ANSI C3.159-1989 (``ANSI C'').
BSD Experimental June 4, 1993 1